import { toSuccess, useRedis } from "@sker/core";
import { useData } from "@sker/runtime";

import * as helper from './kwaiHelper';
/**
 * 找包
 */
export default async () => {
    const body = useData()
    await useRedis(0, async (r) => {
        return await helper.updateRoomInfo(r, body)
    })
    return toSuccess(true)
}